package cc.mrbird.febs.business.controller;

import cc.mrbird.febs.common.controller.BaseController;
import cc.mrbird.febs.common.entity.FebsConstant;
import cc.mrbird.febs.common.utils.FebsUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller("businessView")
public class ViewController extends BaseController {

    @GetMapping(FebsConstant.VIEW_PREFIX + "business/businessModule")
    public String businessModuleView() {
        return FebsUtil.view("business/businessModule");
    }

    @GetMapping(FebsConstant.VIEW_PREFIX + "business/business")
    public String businessView() {
        return FebsUtil.view("business/business");
    }

    @GetMapping(FebsConstant.VIEW_PREFIX + "business/businessName")
    public String businessNameView() {
        return FebsUtil.view("business/businessName");
    }
}
